<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>边框</title>
    <style>
        .box{
            width: 200px;
            height: 200px;
            background-color: pink;
            /* 边框组成:粗细,线条样式,颜色 */
            /* 实线 */
            border: 1px solid red;
            /* 点线 */
            border-top: 5px dotted blue;
            /* 虚线 */
            border-left: 10px dashed green;
            /* 双线 */
            border-right: 15px double yellow;
            /* 实线 */
            border-bottom: 20px solid purple;
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>